/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 6/1/18
Time: 6:12 PM
 */

package Cn.Sarkar.Entities.MMS.ToJsonEntities

import Cn.Sarkar.Entities.Common.Additional.IDescription
import Cn.Sarkar.Entities.Common.Additional.IName
import Cn.Sarkar.Entities.Common.Independent.IApplicationDomain
import Cn.Sarkar.Entities.MMS.Independent.IAccount
import Cn.Sarkar.Entities.MMS.Independent.ICompany
import Cn.Sarkar.Entities.MMS.Independent.Wallet.IMemberShipLevel
import Cn.Sarkar.Entities.MMS.Independent.Wallet.IWallet
import Cn.Sarkar.Entities.ToJsonEntities.JBaseEntity
import Cn.Sarkar.Entities.ToJsonEntities.JDescription
import Cn.Sarkar.Entities.ToJsonEntities.JName
import java.util.*

open class JApplicationDomain : IApplicationDomain, JBaseEntity() {
    override var company: ICompany = JCompany()
    override var name: IName = JName()
    override var appKey: String = ""
    override var companys: MutableList<ICompany> = LinkedList()
    override var description: IDescription = JDescription()
    override var accounts: MutableList<IAccount> = LinkedList()
    override var wallets: MutableCollection<IWallet> = LinkedList()
    override var defaultMemberShipLevel: IMemberShipLevel = JMemberShipLevel()
    override val memberShipLevels: MutableCollection<IMemberShipLevel> = LinkedList()
}